	.text
	.section	.rodata
	.align	3
.LC0:
	.string	"a[%d] = %d\n"

	.text
	.align	1
	.globl	main
	.type	main, @function
main:
	addi	sp,sp,-48
	sd	s1,24(sp)
	lla	s1,a
	sd	ra,40(sp)
	sd	s0,32(sp)
	sd	s2,16(sp)
	sd	s3,8(sp)
	mv	a4,s1
	li	a5,0
	li	a3,10
.L2:
	sw	a5,0(a4)
	addiw	a5,a5,1
	addi	a4,a4,4
	bne	a5,a3,.L2
	li	s0,0
	lla	s3,.LC0
	li	s2,10
.L3:
	lw	a3,0(s1)
	mv	a2,s0
	mv	a1,s3
	li	a0,1
	addiw	s0,s0,1
	call	__printf_chk@plt
	addi	s1,s1,4
	bne	s0,s2,.L3
	ld	ra,40(sp)
	ld	s0,32(sp)
	ld	s1,24(sp)
	ld	s2,16(sp)
	ld	s3,8(sp)
	li	a0,0
	addi	sp,sp,48
	jr	ra
	.size	main, .-main

	.globl	a
	.data
	.align	3
	.size	a, 40
a:
	.word	1
	.zero	36
